package io.fft.flight.modules.flight.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 退改规则明细
 *
 * @author likailun kellenli30541@gmail.com
 * @since 1.0.0 2024-06-19
 */
@Data
@ApiModel(value = "退改规则明细")
public class OrderSegmentRuleDetailDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	private Long id;

	@ApiModelProperty(value = "退改规则id")
	private Long segmentRuleId;

	@ApiModelProperty(value = "时间：4-0(表示起飞前4 小时)")
	private String ruleTime;

	@ApiModelProperty(value = "收取费率：10.0=10%")
	private String rate;

	@ApiModelProperty(value = "收取费率文本：扣取/补收10%")
	private String rateText;

	@ApiModelProperty(value = "时间单位；1 = 小时 2 = 天（24h）3 = 自然日")
	private Integer timeUnit;

	@ApiModelProperty(value = "创建者")
	private Long creator;

	@ApiModelProperty(value = "创建时间")
	private Date createDate;


}